<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <title>WeUI</title>
    <link rel="stylesheet" href="../../css/weui.css"/>
    <link rel="stylesheet" href="../../css/perInfo.css"/>
    <script src="../../js/jquery-2.1.1.min.js"></script>
    <script src="../../js/main.js"></script>
    <script src="../../layer/layer.js"></script>
    <title>专利资源</title>
</head>

<body>


<div id="d" style="padding-bottom:10%;width:100%;height:0;margin-top: 1rem;background-color: black;margin-top: 0px;">
    <div style="width:70%;margin:auto auto;">
        <img src="../../img/index/top.png" style="height: auto;width:100%; margin:auto auto;"/>
    </div>
</div>



<div class="weui-cells weui-cells_form">

    <img src="#" id="img" height="100%" width="100%">


    <div class="weui-cells weui-cells_form">

        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">资源编号:</label></div>
            <div class="weui-cell__bd">
                <span id="pid">nan</span>
            </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">专利名称:</label></div>
            <div class="weui-cell__bd">
                <span id="name">nan</span>
            </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">持有人姓名</label></div>
            <div class="weui-cell__bd">
                <span id="username">nan</span>
            </div>
        </div>


        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">专利类型</label></div>
            <div class="weui-cell__bd">
                <span id="clazz">nan</span>
            </div>
        </div>


        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">专利授权号</label></div>
            <div class="weui-cell__bd">
                <span id="authorization">nan</span>
            </div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">审核状况</label></div>
            <div class="weui-cell__bd">
                <span id="audit">nan</span>
            </div>
        </div>
    </div>
</div>
<script>
    $.ajaxSetup({
        xhrFields: {
            withCredentials: isCrossDomain
        }
    });
    $(function () {
        if($.getUrlParam('ids')!=null) {
            $.post(mainurl+"skill/getPatent",{id:$.getUrlParam('ids')},function (data,status) {
                if(checkData(data)){
                    setDataById(data.data);
                }
            })
        } else {
            errorInfo("请求非法");
        }
        
    })
</script>
</body>

</html>